@model ShivamEMR.Model.Domain.PharmacyDomain.DrugBrand

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>DrugBrand</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">Contents</div>
    <div class="display-field">@Model.Contents</div>

    <div class="display-label">Notes</div>
    <div class="display-field">@Model.Notes</div>

    <div class="display-label">Picture</div>
    <div class="display-field">@(Model.Picture == null ? "None" : Model.Picture.Title)</div>

    <div class="display-label">Dosage</div>
    <div class="display-field">@(Model.Dosage == null ? "None" : Model.Dosage.Count.ToString())</div>

    <div class="display-label">Packings</div>
    <div class="display-field">@(Model.Packings == null ? "None" : Model.Packings.Count.ToString())</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


